package cn.community.care.module.system.controller.admin.basicinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户基本信息新增/修改 Request VO")
@Data
public class BasicInfoSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17782")
    private Long id;

    @Schema(description = "用户 ID", example = "11640")
    private Long userId;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @Schema(description = "性别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "性别不能为空")
    private String gender;

    @Schema(description = "出生日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "出生日期不能为空")
    private String birthDate;

    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "身份证号不能为空")
    private String idNumber;

    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "联系电话不能为空")
    private String contactPhone;

    @Schema(description = "家庭住址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "家庭住址不能为空")
    private String homeAddress;

    @Schema(description = "婚姻状况", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "婚姻状况不能为空")
    private String maritalStatus;

    @Schema(description = "入住时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "入住时间不能为空")
    private String checkInDate;

}